zz_

index.js

zzmq.dev@gmail.com[dev3]/mathkit[add-isprime-n-function-returns-whether-n] / index.js @ 78934f5a Download
Ladder Summary

Exposes core utilities of the mathkit library, providing a sum function for aggregating numbers and re‑exporting isOdd, isEven, and the newly added min function from their respective source modules.

 export function sum(...numbers) {
  return numbers.reduce((total, n) => total + n, 0);
 }
 export { isOdd } from "./src/isOdd.js";
 export { isEven } from "./src/isEven.js";
+export { min } from "./src/min.js";